projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6fbc34
)
(byte-optimize-form-code-walker): Improve warning message text.
author
Richard M. Stallman
<rms@gnu.org>
Wed, 16 Nov 2005 22:20:03 +0000
(22:20 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 16 Nov 2005 22:20:03 +0000
(22:20 +0000)
lisp/emacs-lisp/byte-opt.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/byte-opt.el
b/lisp/emacs-lisp/byte-opt.el
index 8711a05e2d96c38d0df948593037c3ca3183604f..b46366a94b97d66d06226cec93c65be7de334d6c 100644
(file)
--- a/
lisp/emacs-lisp/byte-opt.el
+++ b/
lisp/emacs-lisp/byte-opt.el
@@
-545,7
+545,7
@@
(eq (car-safe (nth 2 last)) 'cdr)
(eq (cadr (nth 2 last)) var))))
(progn
- (byte-compile-warn "
`%s' called for effect
"
+ (byte-compile-warn "
value returned by `%s' is not used
"
(prin1-to-string (car form)))
nil)))
(byte-compile-log " %s called for effect; deleted" fn)